backwards compatibility with older plugins using css with staticDir