moved script tag to bottom of page