fixing bug in webkit with blank dates

chrome and webkit have a descrepancy in how they treat blank strings
from input tags. in chrome undefined == null. i guess that's not so for
this webkit engine running the app on windows.