updated scalable.js