trying to get JS to work with stencil