remove global object
Merge branch 'master' into gh-pages