bugdouble is spies library for javascript