I guess that's the downside of using JavaScript... it's really inefficient compared to other languages.