Add auto loading of .js files to the 'book' theme.