improve update script

- delete unused cache folders
- create uglifyjs cache folder