Added a js script removing error wile typing