Fix for $().val().

val() was not setting a value to empty when applying an empty string to
an input. Fixed.