Cleaned up the hide() function.
(jQuery does it this way, setting the element's display to 'none' even if that's its natural display value.)