API for /stats/ complete; install.js update