RESTful Single Page App JavaScript Framework