fixed jshint issue by removing line that is never used