added name and date to js