add javascript code to register.html
Merge pull request #2 from HetongWang/master

add javascript code to register.html