fixed issue #30
changed returnVal in analysis.js from scalar to stack.