fixed a bug with unescaped user name in head js