dave - added javascript support.
dave - added node globals support.
Merge pull request #2 from daviddenton/master

Add JavaScript & Node support