Internet Archive BookReader - The phase rule and its applications