updated examples to javascript, rather than coffee-script
Added coffee-jshint before running tests