Add setting html and some open-source js

Not full completed