Fixed variable declaration in settings. Recompiled js files.