js configuration