A very simple implementation to generate instant url slug usin JavaScript.