One more thing.

I read i += 1 is better than i++ in JS. What do you think?