getting currently url via jsni rather than gwt directly for openshift