The two software use javascript to share commands ?
Depends upon how you want to setup your map(s) and pano(s).
If you want a googlemap within your pano screen / stage area... then the googlemap plugin is the easiest route to go.
IF you want your map to be different from the pano area... AND on the same viewable html page, then, yes, you use javascript to make the two communicate.
If you are just wanting to have a map of panos on one page... and the info bubble clicks take users to a new page (no map) then you can just use normal html linking format.
Saying that... it is easier to say than to implement... especially if you want the map and pano on the same page.... but not the map within the pano area... this is because the "normal" googlemap "engine" won't recognize the js needed to talk to krpano. BUT there are alternative solutions and they'll give you a perfectly good google map.
Sometimes deciding how you want it is the hardest part though.
Graydon