Adding a shim for mootools support (untested)