Add history javascript file