removed console output and changed comments
changed indentation to remove jshint error