calling jS in the head section