Separation of js files.
Divided settings into different files, one per each purpose.
Fixed problems in webkit.
Added modal windows module.