faye.js: update copyObject to properly copy Dates