Added js for date