replace jquery & three.js