Added needed JavaScript to get slider working.