Highfive2lofi is a Common JS module (node and browser comptible) for selectively downgrading HTML5 to HTML4/cross based on client ua.