Update twve.core.js