add javascript function on homepage
Merge pull request #5 from gushumeng/master

add javascript function on homepage