added emit for date (xhr-polling)