Javascript solution code + test suite for the Balanced Brackets (parentheses) algorithm challenge using a stack data structure