move slick.js initialization script to external file