Improved JSDoc and readme