Android PhoneGap port of the tax calculator