download to excel on client side, working properly