making mootools changes a bit more resilient