Enable JavaScript to use MakeSlice.