adding to cycle.js stats.js and application.html.erb for stats ui