add loading bar for when nothing in local storage.  Fix js prefetch issue