Reconstruction the code, use seajs to package different modules.