update documentation:
- removed older apis
- updated js snippet
Merge branch 'master' into gh-pages

Conflicts:
	index.html