I have been trying to add a javascript from my old site to my new drupal sight but I am having extreme difficulties since I'm a noob at drupal. I tried looking at https://api.drupal.org/api/drupal/in...tion/drupal_ad... to try and do it but I couldn't understand any of that at all. The name of the files is events.js and is located at http://insma.org/scripts/events.js

In my old site I had these in my header:

Code:
<script type="text/javascript" src="http://insma.org/scripts/events.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    <script type="text/javascript">
        function loadEvents() {
            var events = parseEvents();
            setInterval(function () { jQuery("#events").html("Next Event(s): <br/>" + getNextEvent(events)); }, 1000);
        }
    </script>
and then I displayed the javascript later on my site with

This is a javascript which counts down to google calendar events, I have zero clue how to display the same thing in a module on drupal