passing var from view to controller via ajax