Added AMD module compatibility
Merge pull request #6 from Toolpark/amd-compatibility

AMD module loader compatibility