Fixed that ajax loading non-image content didn't work all the time.