add mysql timestamp to javascript date