adding js to correct places