Fix core.js.coffee
Fix spec