Update flexselect.js

Upgraded code for jQuery 1.7+.
Live method was deprecated. Replaced with on