Question: Bit of a strange question here i know.

but i wanted to know if some kind of standalone engine for javascript exists..

basically i want to test running of my javascript without having to load a web page...

Maybe it doesn't exist? Like some kind of ide where i can run commands directly without launching IE etc...

I have a great editor but it doesn't support that.. i still need to launch ie / firefxo

What i was thinking of some kind of standalone javascript engine existed that i could write my code here and make debugging a bit easier... and then copy to my webpage.

I know firebug exists but you can't specifically do what i am asking cna you?

Any ideas?

Answer: 
As for the engine - it's actually built in Windows itself and IE just uses it for webpages. Try it - you can make a simple `.js` file and run it. It's a great replacement for `.bat` files actually. :) You can also `cscript.exe` (for console) and `wscript.exe` (for windows app) to run your scripts. It's actually what Windows internally runs when you double-click a `.js` file.

As for debugging - I don't know. I know that:

* Visual Studio supports script debugging, at least for browsers (but probably in other apps to that integrate with the Windows Scripting Host);
* There is a separate "Script Debugger" downloadable for free from Microsoft, though last I checked it was pretty crappy;
* The above mentioned `cscript.exe` and `wscipt.exe` have command-line parameters that have something to do with script debugging, although I don't know what they do.
I'm using Scratchpad that is in Firefox under Web Developer tools and [JSDB](http://www.jsdb.org/index.html). 
There is also a list of [Javascript shells at MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Shells). This is when I just want to quickly run javascript code snippets.