cleaned up slick js