js new approach on list-div