Update mag.core-0.2.js