fixing jsHint issue