Added three.js and state-machine.js