concatenate all scripts in the head