Updated fix for Issue #11

This time, with JavaScript (necessary because the double-border
solution previously delivered caused ugly staggering).