removing unused files and formatting js