Replace htmlstrip and slug with string.js