States added.

I've added states to the page.  In doing so I discovered (seemingly) that the plugin doesn't seem to work properly for multiple instances on a page.  I'll soon release an updated plugin for this.