add js options to slider