Revert "Fix an issue with val() returning invalid values on Chrome for Android, fixes #870."

This reverts commit 9cf3adfa56804c849401124b1cd931a89e4a4902.