I think this script should be within the head tag