started merging existing html with javascript