Fixing `element.val()` for Firefox, & presumably IE10+
Merge pull request #470 from avoidwork/edge

Major fix