Footer padding defined in CSS instead of calculating in JS