modified the main js file to show elements at document ready and show images at window load