Validator (rightly) complains: Do not set innerHTML dynamically. Thanks robcee for pointing it out.