Fixed ajax url issue. And some Master vs Slave views changes