validates jshint - remove ; and unused var