Returns the closest element of a particular type.
Syn.closest(el, type) -> undefined
{Object}
{undefined}
Returns the closest element of a particular type.