Removed "global" so that r.js optimizer picks it up
Merge pull request #29 from jods4/r.js-compatible

Removed "global" so that r.js optimizer picks it up