Test to only use Media if phone-gap version of HTML/JS