connect html to main js