Updated to use core.coffee instead of core.js

as part of migrating to coffeescript, using client side coffeescript for now