Replaces references to non-optimized scripts or stylesheets on Jade files