convert lightbox javascript from ext to jquery

fixes various sizing bugs
Merge pull request #245 from nsams/lightbox-jquery

convert lightbox javascript from ext to jquery