Replace html file with js file