<!DOCTYPE html>
<html>
    <head>
        <title>Billbill</title>
        <link rel="stylesheet" href="styles/main.css" />
    </head>
    <body class="loading">
        Placeholder.

        <script src="scripts/require.js"></script>
        <script>
            require.config({
                baseUrl: 'scripts',
                paths: {
                    jquery: 'http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js',
                    jqueryui: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js'
                }
            });
            
            var googleDriveAPILoaded = function () {
                console.log('Drive API loaded. Loading the rest of the scripts.');
                
                require(['main'], function () {
                    console.log('All scripts loaded.');
                });
            };
        </script>
        <script src="https://apis.google.com/js/client.js?onload=googleDriveAPILoaded"></script>
    </body>
</html>

<!DOCTYPE html>
<html>
    <head>
        <title>Billbill</title>
        <link rel="stylesheet" href="styles/main.css" />
    </head>
    <body class="loading">
        Placeholder.

        <script src="scripts/require.js"></script>
        <script>
            require.config({
                baseUrl: 'scripts',
                paths: {
                    jquery: '//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min',
                    jqueryui: '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min'
                }
            });
            
            var googleDriveAPILoaded = function () {
                console.log('Drive API loaded. Loading the rest of the scripts.');
                
                require(['main'], function () {
                    console.log('All scripts loaded.');
                });
            };
        </script>
        <script src="https://apis.google.com/js/client.js?onload=googleDriveAPILoaded"></script>
    </body>
</html>

Remove http: and .js from CDN library URLs.
Remove http: and .js from CDN library URLs.
