Plugin form

Improves form plugin in case of malformed HTML code in pages.