Total rewrite

This is no longer a jQuery plugin...