Move publicListView to external JS
Correct copy paste fail