changed functions so that it can be used with jQuery 1.4

on(), off() -> bind(), unbind()
or
jQuery requirement 1.4 -> 1.7
Please choose any which you like.