var clock;
$(document).ready(function() {
var today = new Date();
var christmas = new Date(2016, 3, 24, 9, 0, 0);
var one_day=1000;
var diff = christmas.getTime()/one_day-today.getTime()/one_day;
// Instantiate a coutdown FlipClock
clock = $('.clock').FlipClock(diff, {
clockFace: 'DailyCounter',
countdown: true,
showSeconds: true
});
});