Use jquery UJS to inject javascript into the client/browser.