fixed jsHint error