There is no Quit() nor Close() method of Application object in browser-enabled forms. (its not the same dll)
I'm searching an easy way to close browsers too.
Forms Services doesnt permit to use javascript in browser. You can use custom asp.net page which hosts browser-enabled form in a XmlFormView control. So embeding ...