Slug generation optimized.
Optimized labels and added slug.js to edit.js.