correct the order of frame element initialization; revalidated with reals browsers

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@9116 5f5364db-9458-4db8-a492-e30667be6df6
simplified code

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@9117 5f5364db-9458-4db8-a492-e30667be6df6