Update and rename adv.js to advCore.js