Injected a script to bind to event listeners, fixing #2