Fix the Date.now compatibility bug.
Add the doc.