Fixed a bug with the "show" and "hide" methods

...which were not accepting a jQuery selector as per documentation, but
a single element; thanks to Martin for reporting!