moving style and javascript out of the body elements