fix sql add js files for image upload plugin