I don't know that I fully understand the dilemma here. If you include multiple javascript files as you have shown using <script> like in the case of:
Code:
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=true_or_false"></script>
Then all of the included .js files can 'work together' calling upon the functions, variables and classes from each of the other .js files. The only thing that would matter is functions or code that is executed before another(or all) external .js files are loaded.
The only way to actually include a javascript file from within another javascript file is to use something like AJAX to grab the file and then eval() the returned code. However I think it's a better idea to just have it loaded from within HTML as it requires less code, less time and will give you the same result.
"Given billions of tries, could a spilled bottle of ink ever fall into the words of Shakespeare?"
Bookmarks