Three.js, MVC JavaScript