v.1.1 upload city - work every file (percentage up)

also, moved javascript in separate file