Cleaned up code: used @@ so could put variables used in multiple places in body of PeriodicTableNav.rb