In our project we imported javascript files in two types.
1) Imported from local machine
EXAMPLE:      <script type="text/javascript" src="js/jquery.js"></script>
2) Imported from CDN
EXAMPLE:    <script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
Which is the best options to import java script files or css files.When i use from CDN how to manage when the internet is not available 
Thanks in advance...