Minification isn't quite right so not using it. Also fixed nTotal when aObjects.length gets updated.