Improved excerpts and start refactoring main js
fixed index post display and word count