added typed js and compressed hero image