Framework for distributed computing on web browsers