moving slugify js to only show if using slugify