use load all from external javascript