transfer seajs plugin to commonjs