Changing .bind to .on

As of jQuery 1.7, the .on() and .off() methods are preferred for attaching and removing event handlers.
Merge pull request #152 from anthonylebrun/patch-1

Changing .bind to .on