[Update]: add html form and object to javascript code.