Update main.js

Implement Enhancement Request #22 - Add direct navigation to pages/tabs