added ajax call

not sure if this is going to work.