Update permutations.js.erb