adding the JS and images