added js and templates to click on a timepoint or compartment for all spaciotemp results