Swapped the line of atoms[from] === undefined detection under var from = ...
Swapped the line of atoms[from] === undefined detection under var from = ...

HongjianLi/istar,quinonez/istar,quinonez/istar,quinonez/istar,HongjianLi/istar,quinonez/istar,HongjianLi/istar,HongjianLi/istar