How to prevent those web script errors, I am looking for a way to handle it ...