Added javascript date instead php date