added javascript in Statistics