Added code to dynamically add book ID to URLs for embedded pages (i.e. Khan Academy exercises)