-4
This might be unrelated to your question, but if you really just want to learn JavaScript without the necessities of DOM, or tired of embedding it into the HTML, why don't you use Firefox Scratchpad?
It's simple, more like playground for you to write small JavaScript code. I've been using it re...