Publish Setting.Mode v1

finish Mode model
update index.html
create setting.js