I have a javascript file but when I put my Jquery in it it stops working even though it works whenever it is in script tags in the head section. Please explain why it should or shouldn't work