Update swap.js

Fixed the links