updated load to use the new done handler

I couldn't get .done to work, google pointed to it being depreciated. This works.