moved html class names to options.