Adding js mode snapshot