Fix AMD loading
Merge pull request #1 from UseAllFive/fix-require

Fix AMD loading