Moved lib files to AMD modules with bower and requirejs.