Made $.fn.path be able to stop at a certain point
Added document accessor for iframe