Refactored title, added scale.js