             nameAndCalendar = lines[i].split('(')
 
             if nameAndCalendar.length < 2
-            	continue
+                continue
 
             name = nameAndCalendar[0].replace(bullet, '')
             calendar = 'No Calendar'

# Author: Connor Beardsmore <connor.beardsmore@gmail.com>
# Last Modified: 22/03/18

# Bash command to pull events from icalBuddy
# Set +2 to how many days you want to show
# icalBuddy has more functionality that can be used here
command: "/usr/local/bin/icalBuddy -n eventsToday+2"

# Update is called once per hour
refreshFrequency: "1h"

        else if ( lines[i+1].startsWith("    tomorrow") )
            if (! dom.text().includes('Tomorrow'))
                header = 'Tomorrow'
        # Print day after tomorrow subheading
        else if ( lines[i+1].startsWith("    day after"))
            if (!dom.text().includes('Day After Tomorrow'))
                header = 'Day After Tomorrow'
        # Print later subheading
        else if ( lines[i+1].search('\\d{2}-[a-zA-Z]{3}-\\d{4}') != -1 )
            day = lines[i+1].trim().substr(0,11)
            dayHeader = if USE_LATER_DATE then lines[i+1].trim().substr(0,11) else 'Later'
            if (!dom.text().includes(dayHeader))
                header = dayHeader

        # If required add in the header
        if (header != "")
