Resolve issues

1. Remove the trailing ws
2. Move evt.preventDefault() into the test
3. Add a test to check the button type, and put the click() method into it.
4. Remove the reset-form.html, etc

Signed-off-by: xiaojunwu <xiaojunx.a.wu@intel.com>