add form resize event
add webBrowser code to submit form