remove unused files. move scripts to footer.