The javascript minification in webassets doesn't handle this and it was easier to patch than change minifier.