refactor to use _.slugify from underscore.string, update docs