Refactor settings form
Clean daguerro js
Approach to saving settings