violations.js: Remove unused code