add compressed head.js
update README.md
add demos; add docs;