making mediaxObjects global

trying to make mediaxObject global to see if that fixes a problem with
mediaxObjects being undefined.