Updated RequireJS to 2.1.15
Optimize Logger and global functions