fix(CSS target) change document object based on option also when loading styles