replaced .on with .bind, since .on was introduced later in Jquery lifetime/