putting js in teh dom