fix bug in plugin;update seajs wrapper.