Wrote initial code to use DOMDocument to perform classic class switching
Finally found a robust way of getting innerHTML not including <html><body>
Logical and API cleanups
Added twitter map, classmap utility methods