A PhoneGap Based Framework for math book apps