fixed js toggle for settings form