bug of date display in js, such as 2014-1-1, which should be 2014-01-01