Implemented Requirejs
Added a requirejs plugin.