updating type of all script tages to text/javascript