Moved script tag inside body in footer