added ajax bindings to views