Use compile task so that travis build can pass

The compile task makes sure the templates JS files are generated as well as the ones from CoffeeScript