Add a comment noting to refactor how debug directives in JS are handled