Refacted to remove the extra jquery plugin function to sharedcount