Update main.js

Changed number of posts from 10 to 7