Adding updated js to fix issue with slugify