Added legend to pageslist
Link fixes; JS Fixes