A framework for local multi-device web applications