Fix up README and improve the onunload definition in the loadable pages