Removed jQuery.fn.contains - didn't match the :contains() selector and confused thing...