added requirejs support
Merge pull request #661 from izifortune/requirejs

added requirejs support