.jshint arc added, corresponding fixes done