adjust html to read from js file