moved script tag to body