Various frontend improvements

Optimise shadow image, fix chmod in README, HTML5 doctype, make all JS
external, concat+minify JS