Added shim support for require js plugin.