reload function javascript part