add main js and test html