half-baked coffee script controller