refactor ebtext.js
more fixing case stuff
paying down dat tech debt