javascript integration