Fix two error messages in operations.js