add support for old versions of requirejs (older then 2.1.0)
Merge pull request #10 from tristanguo/develop

add support for old versions of requirejs (older then 2.1.0)