swap.html - update buttons and js