Adds jasmine coffeescript snippits

Fixes up the javascript version too