preload.js replaces loadthis