Add /clear, fix XSS issue