use .bind/.unbind for events intead of .on/.off, for compatibility with Drupal's ancient copy of jQuery