An attempt to port lagarto-swap great idea to nodejs