Simple Permutation //JavaScript Repository