changes in scripts.js
login and popup
res conf
conf res