Added some javascript to automatically refresh the homepage