fileUtil.js, listview.js, package.js: code cleanup
listview.js: correct delete which creates empty listview