Update injector.js

Use the conventions for CoffeeScript functions.
These convention are exhibited by http://coffeescript.org/ and https://github.com/polarmobile/coffeescript-style-guide#functions.