 		dayNumber = new Date(p.date).getDay()
 		diff = Math.floor (today-practice)/ milliseconds
 		if diff < 16 then boxes[diff] = 1
-	console.log 'boxes: ', boxes
+	# console.log 'boxes: ', boxes
 	for i in [14..0] by -1
 		document.querySelector('.practices').innerHTML += if boxes[i] then divOn else divOff
 	return

loadJSON = (url) ->
  req = new XMLHttpRequest()
  req.addEventListener 'readystatechange', ->
    if req.readyState is 4 # ReadyState Complete
     successResultCodes = [200, 304]
     if req.status in successResultCodes
      cb JSON.parse req.responseText
      return
     else
      document.querySelector('.practices').innerHTML = 'error'
      return
  req.open 'GET', url, true
  req.send()
  return

), 500

cb = (r) ->
	# console.log 'cb return: ', r
	boxes = []
	divOn = '<div class="on"></div>'
	divOff = '<div class="off"></div>'
