refactoring js and css and comment html