Moving script input tag into body