Try converting your date objects to "milliseconds from the epoch" using getTime().
var dateSerial = data[nn][14].getTime();
var nowSerial = (new Date()).getTime();
var formatColour = (dateSerial < nowSerial)?'red':'cyan';
For the other part of your question (specifying how you want the date to appear), take a look at Utilities.formatDate().