js infrastructure setup