update min.js wth improved AJAX setup