placed scripts at bottom of body element