Fix stats.js and added examples.