Update api.js.coffee

CoffeeScript doesn't like that