add type text/javascript