add history js