First working Jasmine spec + increase test coverage
Introduce more efficient getText2() method, and test difference results
Add missing null-check
Include helpers JS for endsWith() etc.
Test refreshTerms()
Use JQuery for CSS display check: much more successfully than before, stripping <script> etc.
Add expectation
Fix tabs/spaces
Finally switch over to getText2()