Added requirejs compilation and optimization.