This is a surprisingly often ignored limitation of the browsers. You need threads to achieve decent performance given any significant complexity, and mobile CPUs are going multi-core.
I thought it might be worth looking into web workers, but everything seems to interact with the DOM so that's not much help either.