add API to readme + notes about esprima parser demo [ci skip]
add util/insert and refactor hooks
add try/catch support. closes #9