Rename js/preload.js to res/js/preload.js