I have a question on jQuery $(document).ready
Let\'s say we have a HTML page which includes 2 JavaScript files
         
See here: jQuery - is it bad to have multiple $(document).ready(function() {}); and here: Tutorials:Multiple $(document).ready()
readyList with Deferred objects..js file and be sure that it provides and binds its own ready handler).