support for including directly in a browser