http://www.queness.com/post/112/a-really-simple-jquery-plugin-tutorial