Changed require() call to play nice with RequireJS
Merge pull request #3 from cspotcode/fix-for-requirejs

Changed require() call to play nice with RequireJS