Checking js callback only single request