seperated js and html