made posit.js a standalone script