Hooking up AJAX calls to CartoDB and EE handlers.