Fix css-tags and js-tags functions