[javascript] How to clone a Date object?