New function jsWindow.windowGroup.set_location

Made it to avoid duplicating code. Clients can also use this to set the window location.