Made some changes for  jQuery plugin, but it's still not working