changes to makeTour javascript