Create g_preload.js