Safari and clear cache

Safari and clear cache

Hi to all,
I'm developing a web app with jquerymobile 1.3.1.

When I test my app in Safari iPhone, the first time (or when I clear the cache), jquery doesn't able to load jquerymobile.

If i put the jquerymobile reference as: 
  1. <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
It works fine. But if I use the offline version:
  1. <script type="text/javascript" src="js/jquery.mobile-1.3.1.min.js"></script>
The first time doesn't work. After refresh the page all works fine.

Regards,
Salvo