"When I turn it on, the gauges disappear!" - Rename the file to PrettyGauges.js.
"When I turn it on, nothing happens!" - Common cause is YEP_CoreEngine. Put it below YEP_CoreEngine and it will work. If not, there is another plugin modifying the drawGauge function.