local three.js and fix for the browser(CORS) problem