* add choose-param template
* refactor js part