Remove unnecessary svg elements
Beautify display.js