got it here
JET.resizeTo(width, height, inner)
width : number (Optional). Width of the window in pixel.
height : number (Optional). Height of the window in pixel.
inner : boolean (Optional). Whether specified width & height is the dimension of the viewport area i.e excluding border, title, toolbar, etc. Default is false.
JET.resizeBy(xDelta, yDelta)
xDelta : number (Optional). Value in pixel the window should be resized relative to the current size. Can be positive or negative number.
yDelta : number (Optional). Value in pixel the window should be resized relative to the current size. Can be positive or negative number.