only handle built in types of images - js and stylesheets