calling test html file through js function