add more base functions
Merge branch 'master' of github.com:Riant/snippet-js