Fix bugs

Fix js codes of removing <li> elements