adding some JS history