remove undefined on webpage