Revert "Converted coffeescript to javascript"

This reverts commit d282cb5d2c1d52ba89845f7d5eac5b05cefa7e9a.