Multiple instances of the same app

Is it possible to run multiple instances of the same app in the same browser with the guarantee that all data context are kept separate and not shared ?
For instance I have an app managing purchase orders . I need two purchase orders apps open on the screen at the same time.
Global variables of course cannot be used becaused are shared between apps , but I suspect that even if I dont use globals the context of the two apps are still not managed separately.