use requirejs and it's r.js tool

requirejs模块化重构