Comment out dead variables.
Commenting out dead variables and dead code.
Change the function syntax to quiet JSHint.