add link to listing result & simplify main.js