The plugin uses JavaScript to modify the data posted by the search form into a format acceptable to Google. To try and be a little more DOM compliant the code has been updated to access the "searchForm" using document.getElementsByName