Removing localStorage as image is being accessed by server