<!DOCTYPE html>

<html>

    <head>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.min.js"></script>
        <script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"></script>

        <link rel="stylesheet" href="styles/style.css">
        <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
    </head>

    <body>
        <div id="timeline"></div>
        <div id="leaflet"></div>
        <div id="showhelp"></div>

        <script src="ts/dataloader.js"></script>
        <script src="ts/histogram.js"></script>
        <script src="ts/map.js"></script>
        <script src="ts/timeline.js"></script>
        <script src="ts/main-script.js"></script>

    </body>

</html>

<!DOCTYPE html>

<html>

    <head>
        <script src="bower_components/d3/d3.min.js" charset="utf-8"></script>
        <script src="bower_components/leaflet/dist/leaflet.js"></script>
        <script src="bower_components/moment/min/moment.min.js"></script>

        <link rel="stylesheet" href="styles/style.css">
        <link rel="stylesheet" href="bower_components/leaflet/dist/leaflet.css" />
    </head>

    <body>
        <div id="timeline"></div>
        <div id="leaflet"></div>
        <div id="showhelp"></div>

        <script src="ts/dataloader.js"></script>
        <script src="ts/histogram.js"></script>
        <script src="ts/map.js"></script>
        <script src="ts/timeline.js"></script>
        <script src="ts/main-script.js"></script>

    </body>

</html>

Load javascript and css from bower_components not cdn
Load javascript and css from bower_components not cdn
