JimAllanson's suggestion to use typed arrays. On my machine Ubuntu+Chrome I get 50% speed increase