Added utility for generating swap pairs. JS Code updated