node.js implementation of run or raise for i3 window manager.