moved script tag into the inside of the body