Fix coffee script errors