put javascript into test.html