Has anyone ever made use of the Extension Kit with an embedded JavaScript object on a web page?

Please spare the whole spiel of the general use of the Extension Kit, as I have used it before. I just want to know if anyone has ever tried, and been successful with using it with JavaScript.

Thanks a ton!