fix some bugs & build function in option.js
modify table view