playing with js loading tree