Return mean and std error in mean to browser