Create randomposts.js