fixup
Adding jasmine and test for length_counter.js
fixup spec