merge bronto
bing: use javascript api, get working, and port tests