Bug 1009358 - Choose search engine

for (var i = 0; i < data.lenght; i++) (more spaces)