In-browser multithreading made easy