Refactor put_setting JS. Use put_setting instead of localStorage for hidden fattribs sections.