Changed console.debug to console.log for IE

IE’s crappy browser has issues with console.debug