Quick refactor to global namespace vs not declaring variables. Fixed a , vs ; I missed.