AGJS-245: removed leftovers: unused dependency jQuery + unused variable _oncomplete