Add reload functionality for html and images