Fixed errors in CoffeScript file. Finally works!