[chore]fix fancybox not show up first time load bug

Note: based on [this
SO](http://stackoverflow.com/questions/18105848/jquery-fancybox-doesnt-show-only-after-page-reload)