Fix UMD when build using r.js + almondjs
Merge pull request #20 from lagden/almondjs

Fix UMD when build using r.js + almondjs