Working ajax

Signed-off-by: Frederick Eyland <freeyland@gmail.com>