counting signature matches just counted the list of signatures available. fixed that.
replaced esprima with acorn in the web-version; rewrote scanjs to use proper module pattern for this