Optimize javascript
Merge pull request #9 from abiehaf/requirejs

Optimize javascript compiler