Moved script to end of body instead of in headerw