Plugin.js updated to work with jquery 1.6