Fix typo
No need for this additional code, object is already global
Clean up syntax
Remove unnecessary brackets
Whitespace