Added Date.toJSON for JSONP