Better document the code and improve api
Better document the code and improve api

Changed parameters to be more descriptive, added some jsdoc and improved the api surface with new methods

madcampos/oldwebtext