Fix accidentally truncated var assignment to avoid polluting global namespace.