sync up with js preload changes