Update index.js

Add UTF-8 slugs support