Regenerate the keysymdef table without -d. This eliminates keysym names, which are only used for debugging, and shaves ~40kb off the file size
Add a node.js-based tool (utils/parse.js) to read keysymdef.h and produce a JavaScript file mapping Unicode code points to keysyms. Also add the generated table (include/keysymdef.js).