Partial Mozilla support and Mootools $chk deprecartion fix.