JavaScript OOP Model of Public Library