Fixed navigation history when using the site tabs. Removed obsolete JS code