Moves scripts inside body-tag