Fix scripts on 404 page