Fix typos in README
Fix style errors
Add basic js engine dependency check

We now check if the 'js' command is on the path. In the future more
extensive checking should be added to ensure the js engine supports
the features we need. For now simply assume 'js' is spidermonkey will
suffice.