main.js li click function add closure.