+ Added minifier into update.sh
* Changed in main.js functions to work with ajax window locker