normalize and modernize demo, to enable potential old ie support