make my-js.el a bit more generic