add a slick navbar javascript element