Fixed case where r.js didn't give the module a name
Merge pull request #17 from mokkabonna/amd-support

Fixed case where r.js didn't give the module a name