fixing javascript error where $(Files.breadcrumbs[1]).get(0) returns undefined - happens on resize to a very small width