add selective webassets code