Moved script tag for header into body