Update opinions.js

Changed method names