move javascript tags to the end of the body tag