Test with mocha

Fix #42 

Also, server side includes of underscore and jQuery using `global._` and `global.$`