moving style and script to head tag