Update opinion.js

Fixed a data type mistake.