Added comments for scripts.js and style improvements