Added a utility class of three.js (and Minor modifications).