delete  js that do not need (I write type in html)