fix JSHint issue in latest PR