Migrate from CoffeeScript to JavaScript