Adding an indication that it has detected PhoneGap, and that the load function has ran. Also fixing the logic for LLA.