Update Three.js to 58 rev

1. Update three.js
2. Made changes on code to meet changes in three.js 58 rev