base.js: Swap callback param order for consistency