A iPhone controller framework for the web