#22 Persist layout scale finished. Extract translate js from app.js to external js.