Updated to three.js r57 + compatibility changes.