A much better way to interact with JavaScript.