move this outside of packaged javascript for now