add default param to sides, update docs and minified version