Controlling Beer via phone gap