JS for list view + basic routes setup for all pages