add Core.js and InputEngine