replace uses of .bind/.unbind with prefered .on/.off

Because documentation states : "As of jQuery 1.7, the .on() method is the preferred method for attaching event handlers to a document."