add some JS to the test page