Update ab-core.js