fixed js loading stack up