interface.js: added bistack for match loop avoidance