Optimize index.js and add style consistency

Declared all jQuery objects once where needed instead of diving into the DOM multiple times for the same object.

Added style consistency between variable declarations, if/else statements and functions.
Merge pull request #130 from jillesme/master

Optimize index.js and add style consistency
Fixes variable image width bug

closes #95
 - added onload event listeners to images
Merge pull request #132 from jeremija/image-width-fix

Fixed bug where image width changes on refresh
Typography overhaul
1.1.0
Post image support
Fix IE font feature rendering

See #124 (again)
Remove MS specific font feature styling
Remove old reference to medium desktop media queries from ToC
Merge pull request #136 from novaugust/master

Remove old reference to medium desktop media queries from ToC
merge from ghost