Trying to fix preload js