Update to latest version of three.js; fix example to accommodate three.js internal changes