some minor tweaks to improve performance: remove trailing slashes not ne...

...eded in html5, capsuled the :pseudo js check and crushed all pngs lossless reducing filesize by ~35%

Edit: This is my first opensource contribution as it is my first pull request ever. So please be nice with me ;-)