JavaScript: syntax error in code:
for (var i =
    )