Updated popups plugin to work on collections

however $.popup will still only take a single element. Need to add in a
check to make sure that what was passed in can actually be used by the
plug-in