add ace editor
fix conflict in index.html
fix type