The ajax url for dashboard UI updates is fecthed from an hidden input field.

Earlier we had hardcoded the ajax URL in scripts.js file.