This site has quite some useful Javascript snippets. It is a complete IDE as well.
Do check it out.
It is yet another example of the power of HTML, CSS, JavaScript combination.
But I do have my reservations on using a web based online IDE for any serious development.