Fix threejs tests
Fix node 0.8 definitions