updating js script types