more work on html chapter
added javascript examples for html chapter
merged html chapter with md-insert fixes