update slides, add support for slide numbers to JS