Fix listView.js for lint errors