add externs for three.js