Alibaba beats on earnings as e-commerce remains core revenue driver