Added init for slugify js on front-end