Faye.copyObject doesn't work with instance of Date