set async to true when ajax loading media