I would like the user can not drag the surrounding line of browser and resize the browser when the window size is less than 200 px;
//if ($(window).height > 2
If the browser lets you do window.resizeTo(w,h), than you can set it. BUT modern day browsers normally disable that method by default.