using ScriptInjector to inject the js script