date js validation fix implemented.