use explicit dependency injection syntax 

otherwise this code won't run when code is minified/mangled ( eg Rails asset pipeline )
Merge pull request #155 from ruemic/patch-1

use explicit dependency injection syntax