Fix incorrect variable name, added  to prevent jslint incorrect syntax warnings