use explicit dependency injection syntax

otherwise this code won't run when code is minified/mangled ( eg Rails asset pipeline )