Javascript (and complex HTML code like, for example, frames) cannot be placed in any of the theme’s input/textarea fields as it will be filtered out by WordPress’ content sanitization filters.
As such, that code cannot be placed in the slider without editing theme files.