JS restructured
Settings/Read partially functional