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
Version bump to 1.1.1
Removed button backgrounds on static pages

The home and subscribe buttons had backgrounds on static pages, but not
post pages. The backgrounds are now removed from these buttons on
static pages.
Fixed bottom margin on static page post-title h1

Static pages were previously missing a margin on the bottom of the
post-title h1. By adding <header> with a post-header class around the
h1, we gain the exact same bottom margin as seen on post (non-static)
pages.
Changed button background fix to match post.hbs

As per JohnONolan’s suggestion, I have edited the nav to match the code
in post.hbs: https://github.com/TryGhost/Casper/blob/master/post.hbs#L9
Merge pull request #143 from cubb/master

Fixes to visual bugs on static pages
Move page #post helper to encapsulate image references

Ref #143
- Fixes header images for static pages
Merge pull request #147 from novaugust/page-fix

Move page #post helper to encapsulate image references