Fixed an undeclared variable
Fixed some mistakes
Fixing opinions.js