Fix tagging javascript rule