jquery, ajax, integration with dashboard