use a javascript main.js file instead of coffee, update cs! directives for the rest