add id selector in index.html page, and add id.length js to recharge function runnig