Add migrate js for working fansybox