added settings button js
form + tidy
tidy