add requirejs to modularize js