Fix a hawkejs problem with printing out html attributes in the admin section, refs #8