Phone controller framework for the web