moved js files to js folder, add upload file change detection