move style to stylesheet
tidy up javascript, remove unnecessary disableSaveOnClick