overhaul of js to coffee with new grunt tasks