Updating javascript for pulled coffeescript