fixed mainList.js