added the JS file containing the helper functions for ba-debug library.