Update jquery.polyglot.language.switcher.js

fix attr('value') to val() for recent jQuery version