modified regexp toSlug function
added id on h1 tag