type="text/javascript" added to few more script definitions