<script>window.jQuery || document.write('<scr' + 'ipt src="{$static_url}/javascript/jquery/jquery-1.9.1.js"><\/scri' + 'pt>')</script>

<script type="text/javascript" src="{$template_url}/js/main.js"></script>
<script type="text/javascript" src="{$static_url}/javascript/bootstrap/bootstrap-dropdown.js"></script>
<script>
	$('.dropdown').dropdown()
</script>
</body>
</html>

<script type="text/javascript" src="{$static_url}/javascript/bootstrap-dropdown.js"></script>
<script type="text/javascript" src="{$static_url}/javascript/jquery/jquery-1.9.1.js"></script>
<script type="text/javascript" src="{$template_url}/js/main.js"></script>

</body>
</html>
--- 
+++ 
@@ -1,7 +1,9 @@
+<script>window.jQuery || document.write('<scr' + 'ipt src="{$static_url}/javascript/jquery/jquery-1.9.1.js"><\/scri' + 'pt>')</script>
 
-<script type="text/javascript" src="{$static_url}/javascript/bootstrap-dropdown.js"></script>
-<script type="text/javascript" src="{$static_url}/javascript/jquery/jquery-1.9.1.js"></script>
 <script type="text/javascript" src="{$template_url}/js/main.js"></script>
-
+<script type="text/javascript" src="{$static_url}/javascript/bootstrap/bootstrap-dropdown.js"></script>
+<script>
+	$('.dropdown').dropdown()
+</script>
 </body>
 </html>
Change to jQuery local if not connect to network at header
