A native JS plugin that swaps the things