majority of code now under test. jQuery plugin remains untested