removed old junk funtion from opinions.js