Also fixed an issue with eslinter that was reporting some incorrect unused var warnings. Removed some ignore rules with it being fixed.