moved script tag to the body