add statistics code in default.html