A framework for interactive web applications