using separate js file; fake image loading mocked; adjusted styling and tabs