Simplified HTML template and expanded JS to set up image modal on load.