Converted js.coffee into .js