used selection.js getRevComp