Properly handling loaded event