Changes to NerdPress class for child theme JavaScript