fixed bug causing any extension contains "js" or "json" to be formatted on save when the option is enabled.