removing type="text/javascript"