Added requirejs support.
Merge pull request #11 from andymoon/master

Added requirejs support.