Wrote some new tests; modified plugin wrapper just a bit based on jQuery boilerplate