Update main_ajax.js

small fix