Fix JQuery errors from extending Object, add lightbox functionality.