http://www.cartoweb.org/cwiki/HowToCorrectlyOverrideJavascript this is just a formalized explanation of the "correct" way to override Cartoweb's javascript I talked about in one of my recent answer on the mailinglist. Regards Oliver