Fix scripts, add '-r' for git-perm-rm, adjust jshint rules