* added test for html retrieval via ajax
* fixed type in implementation of ajax