Did Safari Change?

I have many scripts that get data from filemaker pro and submit it to a form in safari. All of a sudden none of them work anymore. Did safari 1.3 change something? The javaScript is no longer filling out the field on the page as it used to.

Here is an example:

 tell application "FileMaker Pro"
	set term to cell "Keywords" in current record
end tell
tell application "Safari"
	
	do JavaScript "window.document.forms=[0].elements=qu.value='" & term & "';" in document 1
	do JavaScript "window.document.forms[0].submit();" in document 1
	
	delay 1
	
	set thesource to source of document 1
	
end tell