Added stats panel

pulled in stats.js as a submodule.