Modification of history jQuery file