Fix previous() and next() to only return real nodes (nodeType=1); set e.preventDefault() to be the only way to stop event propagation (instead of the "return false/true" trick)