add js/scripts.js and refactor css