added js and filled out test.html page