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%