Add pagespeed optimizations, restructure head