add statistics code,and remove inline css to file