Fixed issue with my JS breaking Lightbox
More small edits to JS file