Fix coffee controllers

this fixes the coffee script controllers, I haven't tested extensively since I've never written coffee script myself.