fixes #2983 Dojo buttons not displaying properly in old versions of HTML Pages