Updated script tags with type attribute for IE compatability.