tidy of the autosave js
url history function on autosave bind
autosave button style