Update permutations.js