renamed package, added better support for calling from JavaScript, added code to remove expectations when response count zero