preparing to implement js to write html