Moving JS content to body