new api and minified js for commit 088abe4
Merge branch 'master' into gh-pages