Removed ngon code from ui.js