add navigator.mozApps api detection