stackoverflow question - http://stackoverflow.com/questions/14389974/how-do-i-get-different-tabs-to-load-separate-javascript-files. Note that it's not necessarily a good approach to reload the script on each tab change.
Modified http://code.jquery.com/jquery-latest.js to a secure url
Modified http://d3js.org/d3.v3.js to a secure url
Modified http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js to a secure url
https://code.jquery.com/jquery-latest.js
https://d3js.org/d3.v3.js
https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js