clean up libs, add jsdoc comment to all objects, fix mixins issues