improved/more flexible javascript engine configuration; more HTMLelement fixes

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@8672 5f5364db-9458-4db8-a492-e30667be6df6
test fix, works with current selenium

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@8673 5f5364db-9458-4db8-a492-e30667be6df6
test fix, works with current selenium

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