fixed jshint JSON parse issue