handle days of week on client side