remove unused code; optimize order of scripts and styles