nit:
result: run gjslint 
==
Line 344, E:0002: Missing space after "="
Line 345, E:0001: Extra space before ")"
Line 353, E:0001: Extra space before ")"
==

Please help address this for better coding style.
Thank you.