[FIX] issue 14, improve formating/jsdoc