patters for js and css must be defined