deleted unwanted js files and code fixes