removing type="text/javascript" from script tags as to not imply it is mandatory (is optional)