fixes JS problem with glyph