Modify the plugin to adhere to jQuery plugin standards