Fix for empty stack evaluation in javascript - too much recursion affects browser (fix is to throw an exception when we pop a value from an empty stack and abort further execution - like in c#, where an exception is internally thrown by framework for such case).