working on getting ajax add to work with views