fixed ajax-loader path for file uploader

Fix to use JS variable instead of django templates variable syntax that's not valid for JS files.