Revert "Deleted unused JS method newListItem"

This reverts commit 8aba6732a0e2e52e1c8ca1e2f69c6ce4eb8e4e2f.