Add JavaScript/HTML version of the test.php file