Dynamic Launching of methods from AJAX