sparsely and ugily working with list.js