adding js to the page