Create preload.js

initial