javascript promises error handling

visit shbcf.ru