PhoneGap app with remote HTML for home automation tablet