removing type=text/javascript