Updated to changes in basis.js.

Mainly changes in statistics gathering.