fix jquery ready fails