Fix for javascript bug on date fields. Zero strip on an empty string was causing the rest of the execution to fail.