updated predictions.js