A PhoneGap based framework for telling interactive stories