Advice on html/javascript coding :     <!DOCTYPE HTML>
    <html>
    <head><meta charset="utf-8"> 
    <title>TaxDay</title>
    <script type="text/javascript">
    <!-- Hide from old browsers

    function scrollColor() {
	 styleObject=document.getElementsByTagName('html')[0].style
	 styleObject.scrollbarFaceColor="#857040"
	 styleObject.scrollbarTrackColor="#f4efe9"
  }


    function countDown() {
	 var today = new Date()
	 var day of week = today.toLocaleString()
	 dayLocate = dayofweek.indexOf(" ")
	 weekDay = dayofweek.substring(0, dayLocate)
	 newDay = dayofweek.substring(dayLocate)
	 dateLocate = newday.indexOf(",")
	 monthDate = newDay.substring(0, dateLocate+1)}
	 yearLocate = dayofweek.indexOf("2016")
	 year = dayofweek.substr(yearLocate, 4)
	
	 var taxDate = new Date ("April 16, 2017")
	 var daysToGo = taxDate.getTime()-today.getTime()
	 var daysToTaxDate = Math.ceil(daysToGo/(1000*60*60*24))

    function taxmessage() {
	 var lastModDate = document.lastModified
	 var lastModDate = lastModDate.substring(0,10)
	 taxDay.innerHTML = "<p style='font-size:12pt; font-
     family:helvetica;'>Today is "+weekDay+" "+monthDate+" "+year+".
	 You have "+daysToTaxDate+" days to file your taxes.</p>"
	   }
     }
    //-->
    </script>			

the <div> id is taxDay if its relevant.
the body onLoad event handler are "scrollColor(); countDown(); and taxmessage()"

The website suppose to display a message counting down to the tax day. I can't seem to get anything to display on the page. the scrollbar doesn't even show up with the color even though i put in the write code. Some advice please. Thank you.