Attempted to move XML processing to a web worker, but realised that web workers don't have access to XSL or XML processing :(