Fixed and Update some things
Update autofocus.
Update for html5 form spec
Add test cases