Yep, it's entirely useless without JS, there's a bit of cross-concerns here - the padding hack is also calculated within the template - but if it may cause a pointless reflow, let's stick it into the template too.