added js that goes to stage when you click on a stage's line