JavaScript: Extend Date