Navenn,
I don't know of anyway to call a partial refresh
directly from ssjs , but what you can do is use the onComplete
property in
the event handler of a partial refresh and use XSP.partialRefreshPost
to refresh some additional part of the page.
Looks like this in the source and goes between the event handler tags. You can also nest other partial refreshes in the oncomplete event (covered in the link you referenced).
<xp:this.onComplete><![CDATA[XSP.partialRefreshPost([id to refresh])]]></xp:this.onComplete>