refactored into a bunch of small functions. also should be faster with a lot less jquery searches.
v0.1.1
CHANGELOG
Merge branch 'release/v0.1.1'