Fix error codes in content.js