Ah I got it to run! Not a platformer at all more like those pokemon walkers. I just removed the destruction function
These lines:
43//this.matter.world.on('collisionstart', function (event, player, book) {
44//console.log('collision');
45//this.book.destroy();
47//});