Fix for #116

Originally, the .val() method only allowed the setting of values if they were strings. This should also allow numbers as the passed in argument.