Make Dhtml resources work