updated version of https://github.com/maravillas/lein-js