Minor fix to Scale.js