added date with js