[JS] - Get slides bugfix