Fixed bug with JS for remove listitem.