deletting js files, and add call to server