Fix Format SQL bundle outdated

Since http://www.dpriver.com/ has improved their site so the Format SQL has been outdated and always show error message *Please refresh this page to load the latest version 4.x*. I made some modifications here for this bundle to work properly again.