update slugifying js, add .gitignore