commit with js and dateTime