added getRandomAuthor function
added getRandomAuthor function; changed the instance of library class as a property on the window; modified the publishDate in the Book constructor function to be a date object using Date constructor