updated Ajax controller to use bindData instead of direct assignment. closes #360