Ajax loader fix