Improved doc conversion scripts. Added fancybox js library to expand images on the doc pages.