update asset generator and tests for a post-3.0 world

+ changed the JS template file to use CoffeeScript