Compressed images and made some small changes to JS