White space and custom.js

Changed the white space on the JS on the homepage to make it logical, and added the first required pieces for `jquery.infinitescroll.js` to work in `custom.js`.