+ tpl register.html: add js to valid register form
* tpl user: add form valid for login.html and register.html
+ fts: test case for js form valid