modified threejs nad added scale support