how to handle error in javascript

welcome to shbcf.ru