new default SCALE setting, simplified SCALE docs, used regex to set variables in JS