RequireJS/Jasmine compatibility fix.
Merge pull request #161 from alex-seville/master

Jasmine/RequireJS compatibility