Made js Object oriented for cleaner code, added tour-nav functionn