Use AMD-style modules
Merge pull request #1 from caseywebdev/amd

Use AMD-style modules