move static GeoNode-GeoExplorer script out of template, so that it is easier to reuse