fixing JS on 404 page