Fixed bug in lists.js