update markup to support emmet-like syntax
update index.html and fix bug in template