fix misssing  type="text/javascript"