Update fancySelect.js

I've made changes which were described by https://github.com/br2br in the issue https://github.com/octopuscreative/FancySelect/issues/9