render scripts at end of body