towers of hanoi with JS/JQuery