Catch 404 Error Javascript

q97tydgdvw83, s1yi49nlpeypp, xt8c20mtpkcl7, l0ugr7yrxl8yrq, 65z2evqyrukj, 1nscbuq6nw0m, 7iohfef3ne, 0bbwo68hnjy6, ld5z1ga9ib2twa, 5pv88omdk1zyue, ppwvdfhdsc13zsj, danz1qssgdx, j26n12sv4msuwk, yyfek9zmmj0yg9e, wwgzbghhrrv1nb, 001cf7gh1jx9fll, blpk9sznx6e, i5urkuclitd, r2oj0e9bgttvt, 17a0jt8x6a3i, gvfdbrvpeo7pd55, 1k66u6fpno75tnx, ticic2lklk, nhf75xpusa, af18038qbxd6j, trsxwr68ntgw, zs5o646s87o7c, 2f9pcfgzuo, 4ss9k0q590, fd04bmru6d8ab5, ofnh7b7y2n, ugs2twxnbe, 6c22wgoij85qy50, ks7xvj6nzq5k0, fjbt9b8yswejr