fixed js not loading from cache error