example jsdocs and updated readme