CoffeeScript rewrite, compiled but not generating correct view