Added requireJS key and optimization code to build