js loading moved to bottom