Updating load method, adding data-imginloaded attribute