Move the declarations for log_restore and result_spell_align to global.js.
Add a Readme file.
Move the declarations for the safe sprintf binary hacks to global.js.
th125: Remove the skip_ruby_loop binary hack.
Streamline existing safe sprintf pointer replacements.

In the end, it all boils down to changing a single byte.