reformatted js code
verifying that a date is actually set before saving since 0 is a valid but incorrect date
updating version
updating version to 2.0.4 since 2.0.3 was already tagged
fixed merge