script at bottom of body, not document