Add three.js dependency.