Fixing `element.val()` for Firefox, & presumably IE10+