-- fixes for the jquery-compat version