Implements javascript for list creation with list.js.