state-of-art js for selector
graph selector stuff
merge