added scaling in ready.js. Still tesing it though