added callback for javascript clients