remove coffee script controller; use JS