is this jstd function ? cause it's poluting global space, just inline it, it's not a big deal...