Update randomposts.js