allow shim config on AMD and CJS scripts too