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 thedimension 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 resizedrelative to the current size. Can be positive or negative number.
yDelta :number (Optional). Value in pixel the window should be resizedrelative to the current size. Can be positive or negative number.